home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / gnudiff / !Diff / Desc < prev    next >
Text File  |  1991-09-29  |  4KB  |  116 lines

  1. # This is a description of the wimp interface for Gnu diff
  2.   
  3. tool_details_start
  4.    name          "Diff";
  5.    command_is    "Diff";
  6.    version       "1.15";
  7.    wimpslot       70k;
  8.    has_extended_cmdline;
  9. tool_details_end
  10.  
  11.  
  12. metaoptions_start
  13.    has_auto_save "Merged" from icn 3;
  14.    has_text_window;
  15.    has_summary_window;
  16. metaoptions_end
  17.  
  18.  
  19. fileoutput_start
  20.    output_option_is ">";
  21.    output_dft_string "Merged";
  22.    output_dft_is produces_no_output;
  23. fileoutput_end
  24.  
  25. dbox_start
  26.    icons_start
  27.       icn 3  maps_to string  not_saved;
  28.       icn 5  maps_to string  not_saved;
  29.       icn 8  maps_to "-c";                      # context diff
  30.       icn 9  maps_to "-u";                      # unified diff
  31.       icn 10 maps_to "-D" followed_by icn 11
  32.                           produces_output;      # ifdef output
  33.       icn 12 maps_to "-n";                      # RCS output
  34.       icn 13 maps_to "-e";                      # ed script output
  35.       icn 14 maps_to "-f";                      # reversed ed script
  36.       icn 15 maps_to "-q";                      # summary report
  37.       icn 18 maps_to "-s";                      # report identical files
  38.       icn 19 maps_to "-r";                      # recursive search
  39.    icons_end
  40.  
  41.    defaults
  42.    icn 3  "",
  43.    icn 5  "",
  44.    icn 8  off,
  45.    icn 9  off,
  46.    icn 10 off,
  47.    icn 11 "",
  48.    icn 12 off,
  49.    icn 13 off,
  50.    icn 14 off,
  51.    icn 15 off,
  52.    icn 18 off,
  53.    icn 19 off;
  54.  
  55.    imports_start
  56.       drag_to  icn 3   inserts icn 3;
  57.       drag_to  icn 5   inserts icn 5;
  58.       drag_to  iconbar inserts icn 3;
  59.    imports_end
  60. dbox_end
  61.  
  62.  
  63. menu_start
  64.    "Expand tabs"             maps_to "-t";
  65.    "Force comparison"        maps_to "-a";
  66.    "Minimal changes"         maps_to "-d";
  67.    "Speed up large files"    maps_to "-H";
  68.    "Missing file is empty"   maps_to "-N";
  69.    "File label"              maps_to "" sub_menu "  Label: " 255 prefix_by "-L";
  70.  
  71.    "Lines of context"        maps_to "" sub_menu "  Lines: " 3
  72.                                         integer prefix_by "-";
  73.    "Context header"          maps_to "-F" sub_menu "  Matches: " 255;
  74.  
  75.    "Ignore case"             maps_to "-c";
  76.    "Ignore blank lines"      maps_to "-B";
  77.    "Ignore changes in space" maps_to "-b";
  78.    "Ignore all space"        maps_to "-w";
  79.    "Ignore regex"            maps_to "-I" sub_menu "  Regex: " 255;
  80.  
  81.    defaults
  82.    menu  1  on,                         # Expand tabs in output (-t)
  83.    menu  2  off,                        # Force comparison (-a)
  84.    menu  3  off,                        # Minimal changes (-d)
  85.    menu  4  off,                        # Speed up large files (-H)
  86.    menu  5  off,                        # Missing file is empty (-N)
  87.    menu  6  off sub_menu "",            # File label (-L)
  88.    menu  7  off sub_menu 3,             # Lines of context (-99)
  89.    menu  8  off
  90.          sub_menu "^[a-zA-Z_].*\(",     # Context header (-F)
  91.    menu  9  off,                        # Ignore case (-c)
  92.    menu 10  off,                        # Ignore blank lines (-B)
  93.    menu 11  off,                        # Ignore changes in space (-b)
  94.    menu 12  off,                        # Ignore all space (-w)
  95.    menu 13  off sub_menu "";            # Ignore regex (-I)
  96. menu_end
  97.  
  98.  
  99. deselections_start
  100.    icn   8  deselects icn 9, icn 10, icn 12, icn 13, icn 14, icn 15;
  101.    icn   9  deselects icn 8, icn 10, icn 12, icn 13, icn 14, icn 15;
  102.    icn  10  deselects icn 8, icn  9, icn 12, icn 13, icn 14, icn 15;
  103.    icn  12  deselects icn 8, icn  9, icn 10, icn 13, icn 14, icn 15;
  104.    icn  13  deselects icn 8, icn  9, icn 10, icn 12, icn 14, icn 15;
  105.    icn  14  deselects icn 8, icn  9, icn 10, icn 12, icn 13, icn 15;
  106.    icn  15  deselects icn 8, icn  9, icn 10, icn 12, icn 13, icn 14;
  107.  
  108.    icn  10  deselects menu 7, menu 8;
  109.    icn  12  deselects menu 7, menu 8;
  110.    icn  13  deselects menu 7, menu 8;
  111.    icn  14  deselects menu 7, menu 8;
  112.    icn  15  deselects menu 7, menu 8;
  113.  
  114.    icn  10  deselects menu 1;
  115. deselections_end
  116.